package net.ericaro.neojavagen.expressions;

/**
 * <b>SuperAccess</b> ::= "super" "." <{@link net .ericaro .neojavagen .types .Identifier Identifier}>
 * 
 * @author eric@ericaro.net
 */
public class SuperAccess extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.expressions.FieldAccess {
	private net.ericaro.neojavagen.types.Identifier identifier;

	public SuperAccess(net.ericaro.neojavagen.types.Identifier identifier) {
		super();
		this.identifier = identifier;
	}

	public net.ericaro.neojavagen.types.Identifier getIdentifier() {
		return identifier;
	}

	public void setIdentifier(net.ericaro.neojavagen.types.Identifier identifier) {
		this.identifier = identifier;
	}

	@Override
	public java.lang.String toString() {
		return print("super", ".", identifier);
	}
}
